interface infoType {
  brand_id: number;
  id: number;
  banner: string;
  name: string;
  notice: string;
  brand: string;
  fanan: Array<any>;
  doc: Array<any>;
  cardType: Array<string>;
  cardTypeOne: Array<string>;
  cardTypeTwo: Array<string>;
  duty: Array<dutyType>;
  nature: Array<string>;
  userCardType: Array<string>;
  categoryType: Array<any>;
}

interface dutyType {
  check: number;
  data: Array<dutyDataType>;
  money: string;
  price: any;
  title: string;
  type: number; //type =0是输入框（调用接口） 1是加费专属 2是下拉框 3是-
  unit: string;
}
interface dutyDataType {
  name: string;
  value: string;
  disabled: boolean;
}

//表单提交参数
interface paramType {
  id: number;
  start_time: number;
  end_time: number;
  insure: insureType;
  insured: Array<insuredType>;
  treetop: treetopType;
  duty: Array<dutyType>;
  annex: Array<annexType>;
  user: Array<userType>;
}
interface addInfoType {
  province: string;
  city: string;
  area: string;
  address: string;
  province_code: string;
  city_code: string;
  area_code: string;
}
interface insureType {
  name: string;
  card_type: string;
  card_no: string;
  contact: string;
  contact_mobile: string;
  mailbox: string;
  insure_type?: string;
}
interface insuredType {
  type: string;
  nature: string;
  name: string;
  card_type: string;
  card_no: string;
}
interface treetopType {
  type: string;
  name: string;
  structure: string;
  area_num: string;
  province: string;
  city: string;
  area: string;
  address_id: string;
  room_no: string;
  fanan: string;
}
interface annexType {
  name: string;
  url: string;
}
interface userType {
  name: string;
  id_card: string;
  sex: string;
}
interface homeParamType {
  classify_id: number;
  brand_id: number;
}
